package com.qujia.fleet.domain;

import io.swagger.annotations.ApiModelProperty;

import java.math.BigDecimal;
import java.util.Date;
/**
 * @Auther: LogicQin
 * @Date: 2023/5/10 17:42
 * @Description:
 */

/**
 * 车队活动实体类
 */
public class FleetActivity {

    /**
     * 活动ID
     */
    @ApiModelProperty(value = "活动ID")
    private Integer id;

    /**
     * 车队ID
     */
    @ApiModelProperty(value = "车队ID")
    private Integer fleetId;

    /**
     * 定价方式
     */
    @ApiModelProperty(value = "定价方式")
    private String pricingMethod;

    /**
     * 直降/返现类型
     */
    @ApiModelProperty(value = "直降/返现类型")
    private String discountType;

    /**
     * 直降/返现百分比
     */
    @ApiModelProperty(value = "直降/返现百分比")
    private BigDecimal discountPercentage;

    /**
     * 直降/返现金额
     */
    @ApiModelProperty(value = "直降/返现金额")
    private BigDecimal discountAmount;

    /**
     * 活动有效期
     */
    @ApiModelProperty(value = "活动有效期")
    private Date activityValidity;

    /**
     * 是否停用
     */
    @ApiModelProperty(value = "是否停用")
    private boolean disabled;

    /**
     * 开始时间
     */
    @ApiModelProperty(value = "开始时间")
    private String beginTime;

    /**
     * 结束时间
     */
    @ApiModelProperty(value = "结束时间")
    private String endTime;

    /**
     * 构造方法
     */
    public FleetActivity(Integer id, Integer fleetId, String pricingMethod, String discountType,
                         BigDecimal discountPercentage, BigDecimal discountAmount, Date activityValidity,
                         boolean disabled, String beginTime, String endTime) {
        this.id = id;
        this.fleetId = fleetId;
        this.pricingMethod = pricingMethod;
        this.discountType = discountType;
        this.discountPercentage = discountPercentage;
        this.discountAmount = discountAmount;
        this.activityValidity = activityValidity;
        this.disabled = disabled;
        this.beginTime = beginTime;
        this.endTime = endTime;
    }

    /**
     * 空构造方法
     */
    public FleetActivity() {
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getFleetId() {
        return fleetId;
    }

    public void setFleetId(Integer fleetId) {
        this.fleetId = fleetId;
    }

    public String getPricingMethod() {
        return pricingMethod;
    }

    public void setPricingMethod(String pricingMethod) {
        this.pricingMethod = pricingMethod;
    }

    public String getDiscountType() {
        return discountType;
    }

    public void setDiscountType(String discountType) {
        this.discountType = discountType;
    }

    public BigDecimal getDiscountPercentage() {
        return discountPercentage;
    }

    public void setDiscountPercentage(BigDecimal discountPercentage) {
        this.discountPercentage = discountPercentage;
    }

    public BigDecimal getDiscountAmount() {
        return discountAmount;
    }

    public void setDiscountAmount(BigDecimal discountAmount) {
        this.discountAmount = discountAmount;
    }

    public Date getActivityValidity() {
        return activityValidity;
    }

    public void setActivityValidity(Date activityValidity) {
        this.activityValidity = activityValidity;
    }

    public boolean isDisabled() {
        return disabled;
    }

    public void setDisabled(boolean disabled) {
        this.disabled = disabled;
    }

    public String getBeginTime() {
        return beginTime;
    }

    public void setBeginTime(String beginTime) {
        this.beginTime = beginTime;
    }

    public String getEndTime() {
        return endTime;
    }

    public void setEndTime(String endTime) {
        this.endTime = endTime;
    }
}
